<script lang="ts" setup>
import { onMounted, ref } from 'vue'

let msg = ref('demo')

onMounted(() => {
    setTimeout(() => {
        msg.value = 'Demo'
    }, 1000)
})

</script>
<template>
    <p>{{ msg }}</p>
</template>
<style lang="scss" scoped>
</style>